<template>
  <div class="recommendPage">
      <swiper :options="swiperOption">
        <swiper-slide><img src="../assets/img/1.png" alt=""></swiper-slide>
        <swiper-slide><img src="../assets/img/2.png" alt=""></swiper-slide>
        <swiper-slide><img src="../assets/img/3.png" alt=""></swiper-slide>
        <swiper-slide><img src="../assets/img/4.png" alt=""></swiper-slide>
      </swiper>
    </div>
</template>

<script>
// 引入插件
import { swiper, swiperSlide } from "vue-awesome-swiper";
import "swiper/dist/css/swiper.css";

export default {
components: {
    swiper,
    swiperSlide
  },
    data() {
      return {
         swiperOption: {
          speed:3000,
          loop: true,
          grabCursor : true,
          direction : 'vertical',
          autoplay: {
            delay: 100,
            
          }
        }
      }
    }
}
</script>

<style lang="less" scoped>

</style>